<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>js基础作业</title>
</head>
<body>

    <button onclick="createCode()">生成验证码</button>
    <input type = "text" id = "code"/>

    <ul>
    	<li>这是第0行</li>
		<li>这是第1行</li>
		<li>这是第2行</li>
		<li>这是第3行</li>
		<li>这是第4行</li>
		<li>这是第5行</li>
		<li>这是第6行</li>
    </ul>

</body>

<script src="js/index.js"></script>
</html>